import request from '@/utils/request'
/**
 * 获取轮播图
 * @param params 
 * @returns 
 */
export const getBanner = (params?: any) => {
    return request({
        url: '/anon/banner/list',
        method: 'get',
        params
    })
}
/**
 * 获取博客文章列表
 * @param params 
 * @returns 
 */
export const getBlogList = (params?: any) => {
    return request({
        url: '/anon/note/list',
        method: 'get',
        params
    })
}
/**
 * 推荐博主
 * @param params 
 * @returns 
 */
export const recommendUser = (params?: any) => {
    return request({
        url: '/anon/user/list',
        method: 'get',
        params
    })
}
/**
 * 获取博客用户信息
 * @returns 
 */
export const adminUser = (params: any) => {
    return request({
        url: '/anon/user',
        method: 'get',
        params
    })
}

